package xyz.hubery.stream;


import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.Message;
import org.springframework.messaging.MessageChannel;

public interface Source {

    /**
     * 创建一个委托订单
     * @return
     */
    @Output("order-out")
    MessageChannel orderOutChannel();

    /**
     * 撤销一个委托单
     */
    @Output("rem-order-out")
    MessageChannel remOrderOut();

}
